package com.xc.freeapp.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * 医生详细实体类
 * @author BB151013
 *
 */
public class Doctor implements  Serializable{
		
	    private static final long serialVersionUID = 1L;
	    
		private    Integer     id;
		@ApiModelProperty(value="职称")
		private     String   title;
		@ApiModelProperty(value="appid")
		private     Integer      businessId;
		@ApiModelProperty(value="科室")
		private     Integer      deptid;
		@ApiModelProperty(value="专长")
		private     String   speciality;
		@ApiModelProperty(value="好评率")
		private     Integer      feedback;
		@ApiModelProperty(value="性别")
		private     Integer      sex;
		@ApiModelProperty(value="手机号")
		private     String   phone;
		@ApiModelProperty(value="教育经历")
		private     String   education;
		@ApiModelProperty(value="个人荣誉")
		private     String   honor;
		@ApiModelProperty(value="头像")
		private     String   headpic;
		@ApiModelProperty(value="名字")
		private     String   name;
		private     Integer createby;
		@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		private     Date createtime;
		private     Integer updateby;
		@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		private     Date updatetime;
		@ApiModelProperty(value="appid")
		private     char delflag;
		@ApiModelProperty(value="是否专家(1:是，2：否)")
	    private Integer ifexper;
		
		public Integer getIfexper() {
			return ifexper;
		}

		public void setIfexper(Integer ifexper) {
			this.ifexper = ifexper;
		}

		public Doctor() {
			super();
		}
		
		
		
		@Override
		public String toString() {
			return "Doctor [id=" + id + ", title=" + title + ", businessId="
					+ businessId + ", deptid=" + deptid + ", speciality="
					+ speciality + ", feedback=" + feedback + ", sex=" + sex
					+ ", phone=" + phone + ", education=" + education
					+ ", honor=" + honor + ", headpic=" + headpic + ", name="
					+ name + ", createby=" + createby + ", createtime="
					+ createtime + ", updateby=" + updateby + ", updatetime="
					+ updatetime + ", delflag=" + delflag + ", ifexper="
					+ ifexper + "]";
		}

		public Integer getId() {
			return id;
		}
		
		public void setId(Integer id) {
			this.id = id;
		}
		
		public String getTitle() {
			return title;
		}
		
		public void setTitle(String title) {
			this.title = title;
		}
		
		public Integer getBusinessId() {
			return businessId;
		}
		
		public void setBusinessId(Integer businessId) {
			this.businessId = businessId;
		}
		
		public Integer getDeptid() {
			return deptid;
		}
		
		public void setDeptid(Integer deptid) {
			this.deptid = deptid;
		}
		
		public String getSpeciality() {
			return speciality;
		}
		
		public void setSpeciality(String speciality) {
			this.speciality = speciality;
		}
		
		public Integer getFeedback() {
			return feedback;
		}
		
		public void setFeedback(Integer feedback) {
			this.feedback = feedback;
		}
		
		public Integer getSex() {
			return sex;
		}
		
		public void setSex(Integer sex) {
			this.sex = sex;
		}
		
		public String getPhone() {
			return phone;
		}
		
		public void setPhone(String phone) {
			this.phone = phone;
		}
		
		public String getEducation() {
			return education;
		}
		
		public void setEducation(String education) {
			this.education = education;
		}
		
		public String getHonor() {
			return honor;
		}
		
		public void setHonor(String honor) {
			this.honor = honor;
		}
		
		public String getHeadpic() {
			return headpic;
		}
		
		public void setHeadpic(String headpic) {
			this.headpic = headpic;
		}
		
		public String getName() {
			return name;
		}
		
		public void setName(String name) {
			this.name = name;
		}
		
		public Integer getCreateby() {
			return createby;
		}
		
		public void setCreateby(Integer createby) {
			this.createby = createby;
		}
		
		public Date getCreatetime() {
			return createtime;
		}
		
		public void setCreatetime(Date createtime) {
			this.createtime = createtime;
		}
		
		public Integer getUpdateby() {
			return updateby;
		}
		
		public void setUpdateby(Integer updateby) {
			this.updateby = updateby;
		}
		
		public Date getUpdatetime() {
			return updatetime;
		}
		
		public void setUpdatetime(Date updatetime) {
			this.updatetime = updatetime;
		}
		
		public char getDelflag() {
			return delflag;
		}
		
		public void setDelflag(char delflag) {
			this.delflag = delflag;
		}
		
}
